/* 基本样式 */
body {
    font-family: 'Microsoft Yahei', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('../images/background.png');
    /* 背景图片 */
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
}

/* 容器样式 */
.container {
    background-color: rgba(255, 255, 255, 0.85);
    /* 半透明背景 */
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
    max-width: 450px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 表单样式 */
form {
    width: 100%;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"] {
    width: 100%;
    padding: 12px 20px 12px 50px;
    margin-top: 10px;
    margin-bottom: 20px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 30px;
    font-size: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    /* 半透明背景 */
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus {
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
    outline: none;
    background: rgba(255, 255, 255, 1);
}

input[type="submit"] {
    width: 100%;
    background: linear-gradient(90deg, #007bff, #00d4ff);
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

input[type="submit"]:hover {
    background: linear-gradient(90deg, #0056b3, #0099cc);
}

h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.logo {
    text-align: center;
    margin-bottom: 20px;
}

.logo img {
    width: 80px;
    height: auto;
}

.footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.rental-info {
    background-color: rgba(248, 249, 250, 0.8);
    /* 半透明背景 */
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    text-align: center;
}

.rental-info img {
    width: 50px;
    height: auto;
    margin-bottom: 10px;
}

/* 图标输入框样式 */
.input-group {
    position: relative;
}

.input-group img {
    position: absolute;
    top: 58%;
    left: 15px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
}

.input-group input {
    padding-left: 50px;
}
form .button{
    width: 100%;
    background: linear-gradient(90deg, #007bff, #00d4ff);
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

form .button:hover {
    background: linear-gradient(90deg, #0056b3, #0099cc);
}